cut (someone) down to size

Translations
remettre quelqu’un à sa place
Definitions
To humble someone who is acting arrogant or overconfident by showing them they are not as important or capable as they think.